package com.techsoul.module.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 消息队列日志对象 sys_mq_log
 * 
 * @author liuen
 * @date 2021-06-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_mq_log")
public class MqLog extends DataEntity {

    /**
     * 交换机
     */
    private String exchange;

    /**
     * 队列
     */
    private String queue;

    /**
     * 路由KEY
     */
    private String routingkey;

    /**
     * 消息内容
     */
    private String message;

    /**
     * 异常信息
     */
    private String exceptionInfo;

    /**
     * 状态，pending、success、error
     */
    private String status;

}
